package cn.itsource.crm.domain;

import cn.itsource.basic.domain.BaseDomain;

import java.util.List;

//数据字典
public class Dict extends BaseDomain {
    //数据字典名
    private String name;
    //数据字典编号
    private String type;

    private List<DictInfo> dictInfos;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<DictInfo> getDictInfos() {
        return dictInfos;
    }

    public void setDictInfos(List<DictInfo> dictInfos) {
        this.dictInfos = dictInfos;
    }

    @Override
    public String toString() {
        return "Dict{" +
                "name='" + name + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
